package com.jianz.campus_markets.service;

import com.jianz.campus_markets.domain.ResponseResult;
import com.jianz.campus_markets.domain.dto.ProductCommentDto;
import com.jianz.campus_markets.domain.dto.UserChatDto;
import com.jianz.campus_markets.domain.entity.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jianz
 * @since 2023-12-28
 */
public interface CommentService extends IService<Comment> {

    ResponseResult addProductComment(ProductCommentDto comment);

    ResponseResult addUserChat(UserChatDto userChatDto);

    ResponseResult getComment(int productId);

    ResponseResult getChat(int userId);

    ResponseResult getToChat(int toCommentUserId);
}
